523

 If you're extracting just one entry from the database, there is no
 need cur.fetchall(), use cur.fetchone().